﻿using Stimulus360.Services;
using Stimulus360.Models.Data;
using System.Collections.Generic;
using Stimulus360.Models.Data.CustomTypes;

namespace Stimulus360.Controllers.Projects
{
    /// <summary>
    ///     Class to represent the View Model for Projects Category view
    /// </summary>
    public class CategorizedProjectsListingViewModel
    {
        /// <summary>
        ///     Category Title
        /// </summary>
        public string Category { get; set; }

        /// <summary>
        ///     List of projects for the given category
        /// </summary>
        public PaginatedCollection<Project> Projects { get; set; }

        /// <summary>
        ///     List of Investment categories to create the tag cloud.
        /// </summary>
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", Justification ="Property needs to be set in the controllers")]
        public ICollection<InvestmentCategorySummary> Categories { get; set; }
    }

}
